package com.burnerpat.fl2d.core.shape;

public class Disc extends Shape
{
	private double radius = 0.0;
	
	public Disc(double pRadius)
	{
		super();
		radius = pRadius;
	}
	
	public Disc()
	{
		this(0.0);
	}
	
	public double getRadius()
	{
		return radius;
	}
	
	public void setRadius(float pRadius)
	{
		radius = pRadius;
	}

	@Override
	public Rectangle getAABB()
	{
		return new Rectangle(radius * 2.0, radius * 2.0);
	}
}
